var BaseConsult = app.controller('BaseConsult', function($rootScope, $scope, $http,$state) {
	try{
		$rootScope.showf=true;
		$rootScope.title = '咨询';
		$rootScope.tab = 1;
		$scope.fcate=[];

		//获取咨询类型
		var url=SITE_URL+"index.php?app=baseloginapp&callback=JSON_CALLBACK&act=fcategory";
		$http.jsonp(url).success(function(data) {
			$scope.fcate=data.retval;
		});
	}
	catch (e) {
		showcatch(e);
	}
});